<template>
    <div class="screen-body">
        <s-header ></s-header>
        <transition name="">
            <div class="screen-nav-wrap" v-show="navVisible">
                <s-nav></s-nav>
            </div>
        </transition>
        <div class="screnn-container">
            <router-view ></router-view>
        </div>
    </div>
</template>
<script>
import delegate from './js/event.js'
import SHeader from './header/Header.vue';
import SNav from './nav/Nav.vue';
import { mapGetters } from 'vuex'
export default {
    data() {
        return {

        }
    },
    methods: {
    },
    computed: {
        ...mapGetters(['navVisible'])
    },
    components: {
        SHeader,
        SNav,
    },
    mounted () {

    },
}
</script>

<style lang="scss">
  @media screen{
    .screen-body {
        position: relative;
        min-height: 100vh;
        background: #0b0626;
        overflow-x:hidden;
        .screen-nav-wrap{
            position: absolute;
            top: 60px;
            bottom: 0;
            left: 0;
            width: 130px;
            z-index: 2;
            background-color: #091a51;
            @media (max-width: 1920px ){
                top: 50px;
            }
            @media (max-width: 1366px ){
                top: 45px;
            }
        }
        .screnn-container{
            position: relative;
           // background-color:#fff;

        }
    }
  }
</style>
<style lang="scss">
  .modal-wrap{
    .ivu-modal-header-inner{
      color: #fff;
      font-size: 20px;
    }
    .ivu-modal-content{
      background-color: rgba(0,90,255,0.8);
    }
    .news-link-item{
      display: block;
      padding: 5px 10px;
      color: #fff;
      font-size: 14px;
      &:hover{
        text-decoration: underline;
      }
    }
    .list-item{
      .label{
        padding-top: 5px;
        color: #fff;
        font-size: 16px;
      }
      .text{
        padding: 5px 0;
        font-size: 14px;
        line-height: 1.6;
        color: #fff;
        min-height: 30px;
      }
      border-bottom: 1px solid #dedede;
    }
  }
  .date-wrap{

  }
  .trend-time{
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 100;
    .ivu-input{
      background: transparent;
      border: 1px solid #0a5cff;
      color: #0a5cff;
    }
    .ivu-icon{
      color: #0a5cff;
    }
  }


  .select-top{
    width: 80px;
    .ivu-select-selection{
      background: transparent;
      border: 1px solid #0a5cff;
      color: #0a5cff;
      .ivu-select-arrow{
        color: #0a5cff;
      }
    }
    .ivu-select-dropdown{
      background-color: #0a5cff;
    }
    .ivu-select-item-focus {
      background: #0f0f77;
    }
    .ivu-select-item{
      color: #fff;
    }
    .ivu-select-item:hover {
      background: #0657ad;
    }
  }
</style>
